package com.zsk.shop.common.base.model.token;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import java.util.Date;

/**
 * 用户传输bean
 */
@Data
@ApiModel("用户精简实体类")
public class UserSimple {

    @ApiParam("用户主键编号")
    private Long id;

    @ApiParam("用户no")
    private String userNo;

    @ApiParam("用户类型")
    private Integer userType;

    @ApiParam("是否是管理员账号")
    private Boolean isGop;

    @ApiParam("该token过期时间")
    private Date invalidDate;

}
